Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done. check it #33

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

done. check it #33

wants to merge 10 commits into from

Conversation

Watxesnavo
Copy link

No description provided.

book.setTitle("Testing");
bookDao.create(book);
List<Book> all = bookDao.findAll();
Optional<Book> bookOptional = bookDao.findById(1L);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use hardcoded ids in main, use getId() on the returned Book

}
}

private static Book parseResultSet(ResultSet set) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private methods should go after public ones

@Watxesnavo Watxesnavo closed this Aug 22, 2023
@Watxesnavo Watxesnavo reopened this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants